package com.fare.taluo.application.system.auth;

import java.util.List;

import com.fare.taluo.auth.security.LogonUserCertificate;
import com.fare.taluo.vo.auth.UserInfoLoginVO;

public interface UserInfoLogApplication {
	/**
	 * 强制释放当前用户session
	*/
	public String releaseSession();
	
	/**
	 * 检查用户是否已经登录
	*/
	public UserInfoLoginVO checkUserLogin(String username);
	
	/**
	 * save or update
	*/
	public void saveOrUpdate(UserInfoLoginVO vo);
	
	public void updateVo(LogonUserCertificate vo);
	
	/**
	 * 计数器
	*/
	public int countUserOnline();

	public List<UserInfoLoginVO> findAll(String loginTimeStr,String logoutTimeStr);
	
	public void systemUpdate();
}
